<template>
  <div>
    <table-demo :tableDatas="tableDatas" :tableCols="tableCols"></table-demo>
  </div>
</template>
<script>
import { reactive } from '@vue/reactivity';
import tableObj from './test-table';
import tableDemo from '@/components/table/table.vue';
export default {
  setup() {
    const tableDatas = reactive(tableObj.testDatas);
    const tableCols = reactive(tableObj.testCols);

    return {
      tableDatas,
      tableCols,
    };
  },
  components: {
    tableDemo
  }
};
</script>
<style lang="scss" scoped>

</style>